﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GatewayInspect.Common
{
    public static class Session
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public static string CurrentUserName { get; set; }

        /// <summary>
        /// 用户角色
        /// </summary>
        public static string CurrentUserRole { get; set; }

        /// <summary>
        /// 用户中文姓名
        /// </summary>
        public static string CurrentUserXM { get; set; }

        /// <summary>
        /// 组织机构编码
        /// </summary>
        public static string CurrentOrgCode { get; set; }

        /// <summary>
        /// 组织机构名称
        /// </summary>
        public static string CurrentOrgName { get; set; }

        /// <summary>
        /// 组织机构类型
        /// </summary>
        public static int CurrentOrgType { get; set; }

        /// <summary>
        /// 是否超级管理员
        /// </summary>
        public static bool IsSuper { get; set; }
    }
}
